var status = -1;
var selectionLog = [];

function start() {
    action(1, 0, 0)
}

function action(d, c, b) {
    if (status == 0 && d == 0) {
        cm.dispose();
        return
    }(d == 1) ? status++ : status--;
    selectionLog[status] = b;
    var a = -1;
    if (status <= a++) {
        cm.dispose()
    } else {
        if (status === a++) {
            cm.sendNormalTalk_Bottom("#face2#这里……你难道不觉得这个洞穴特别奇怪吗？\r\n#g以这里为中心，周围的树都变成了灰烬#k啊。\r\n进去看看吧。", 37, 2074100, false, true)
        } else {
            if (status === a++) {
                cm.updateInfoQuest(30450, "m1=1");
                cm.forceStartQuest(30926, "1");
                cm.forceCompleteQuest(30926);
                cm.forceForfeitQuest(30926);
                cm.updateInfoQuest(30926, "");
                cm.dispose();
                cm.warp(224000090, 0, true)
            }
        }
    }
};